import app from '../busApp/index'

app.directive('color', {
    created(el, binding) {
        el.style.backgroundColor = binding.value
    },
    updated(el, binding) {
        el.style.backgroundColor = binding.value
    },
})